package com.example.websocket.websocket.pojo;

import java.io.Serializable;

/**
 * @program: websocket
 * @description:
 * @author: fks
 * @create: 2025-03-23 17:24
 **/

public class ResultMessage<T> implements Serializable {
    private T data = null;
    private String fromUser=null;

    public void setData(T data) {
        this.data = data;
    }

    public void setFromUser(String fromUser) {
        this.fromUser = fromUser;
    }

    public T getData() {
       return this.data;
    }

    public String getFromUser() {
        return this.fromUser ;
    }
}
